import java.awt.Graphics2D;

import javax.swing.Timer;


public class Scene {
	Crowd[] crowds;
	int x, y;
	public Scene(int x, int y, Timer t){
		this.x = x;
		this.y = y;
		crowds = new Crowd[4];
		for(int i = 0; i < 4; ++i){
			crowds[i] = new Crowd(x, y + i * 100, t);
		}
	}
	
	public void paint(Graphics2D g){
		//g.rotate(Math.PI/4, x, y);
		if(crowds!= null){
			for(Crowd c: crowds){
				c.paint(g);
			}
		}
		g.rotate(-Math.PI/4, x, y);
	}
}
